package com.jic.order.rest.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@ApiModel(description = "添加购物车请求")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ShoppingCartAddRequest extends UserRequest {

    @ApiModelProperty(notes = "是否选中")
    private Boolean selected;
    @ApiModelProperty(notes = "商品id，最小维度id，例如sku")
    private String goodsId;
    @ApiModelProperty(notes = "商品名称")
    private String goodsName;
    @ApiModelProperty(notes = "商品图片")
    private String goodsUrl;
    @ApiModelProperty(notes = "商品数量")
    private Integer goodsNum;
    @ApiModelProperty(notes = "销售单价")
    private BigDecimal saleUnitPrice;
    @ApiModelProperty(notes = "活动Id")
    private String promotionId;
    @ApiModelProperty(notes = "类型:1单一促销,2满量促销,3满额促销,4秒杀,5赠送类促销,6组合促销7.单品X件优惠,8换购,9预售,11优惠券")
    private Integer promotionType;
    @ApiModelProperty(notes = "1.开团 2.参团")
    private Integer groupType;

}
